tmem: Move bulk of tmem control functions in its own file.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 16 May 2016 02:47:01 +0000 (22:47 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Jun 2016 19:12:11 +0000 (15:12 -0400)
commite228585d122817f987806145b09de7914c42a5fe
tree52e0658d2b9f284e8f02051fff366cf1c7aca9fd
parentfc326b7480ea4d7ca8662b185cc296cac27eb8c9
tmem: Move bulk of tmem control functions in its own file.

The functionality that is related to migration is left inside
tmem.c. The list of control operations that are in tmem_control
with XEN_SYSCTL_TMEM_OP prefix are:

DESTROY, FLUSH, FREEZE, THAW, LIST, QUERY_FREEABLE_MB
SAVE_GET_CLIENT_CAP, SAVE_GET_CLIENT_FLAGS,
SAVE_GET_CLIENT_WEIGHT, SAVE_GET_MAXPOOLS,
SAVE_GET_POOL_FLAGS, SAVE_GET_POOL_NPAGES
SAVE_GET_POOL_UUID, SAVE_GET_VERSION
SET_CAP, SET_COMPRESS, SET_WEIGHT

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/common/Makefile
xen/common/tmem.c
xen/common/tmem_control.c [new file with mode: 0644]
xen/include/xen/tmem_control.h [new file with mode: 0644]
xen/include/xen/tmem_xen.h